package com.htandroid.htandroid.entity;

import java.io.Serializable;

//厨房请购定价界面list
public class UffjqgdList_detail implements Serializable {
    private String cvouchid;
    //存货编码
    private String cinvcode;
    //名称
    private String cinvname;
    //规格
    private String cinvstd;
    //单位
    private String cinvm_unit;
    private String cinva_unit;
    private String iinvexchrate;
    private String binvtype;
    private String cinvaddcode;
    private String ddate_dh;
    private String inum;
    private String isnum;
    //订单数量
    private String iquantity;
    private String iqgq;
    //订单单价
    private String iprice;
    //订单金额
    private String iamount;
    private String cvencodep1;
    private String cvennamep1;
    private String cvencodep2;
    private String cvennamep2;
    private String cvencodep3;
    private String cvennamep3;
    private String ipricep1;
    private String ipricep2;
    private String ipricep3;
    private String cchecker;
    private String ccheckdate;
    private String cdisapprovereason;
    //供应商编码
    private String cvencode;
    //供应商名称
    private String cvenname;
    private String cdefine1;
    private String cdefine2;
    private String cdefine3;
    private String iinvsprice;
    private String cdefine4;
    private String bapprove;
    private String qgdsid;
    private String inorder;
    private String bclose;
    private String djtype;
    private String djcvencode;
    private String djprice;
    private String canupdjxy;
    private String succount;
    //历史信息
    private String ddate;
    private String ilprice;
    private String clvencode;
    private String ilquantity;
    private String avgiquantity;
    private String cvencode1;
    private String avgiprice1;
    private String cvencode2;
    private String avgiprice2;
    private String venplatid;
    private String cstatus;
    private String s_id;
    private String flag;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getS_id() {
        return s_id;
    }

    public void setS_id(String s_id) {
        this.s_id = s_id;
    }

    private String cchangedate;

    public String getCstatus() {
        return cstatus;
    }

    public void setCstatus(String cstatus) {
        this.cstatus = cstatus;
    }
    public String getCdepname() {
        return cdepname;
    }

    public void setCdepname(String cdepname) {
        this.cdepname = cdepname;
    }

    private String cdepcode;
    //请购部门
    private String cdepname;
    private String s_cdefine1;

    public String getS_cdefine1() {
        return s_cdefine1;
    }

    public void setS_cdefine1(String s_cdefine1) {
        this.s_cdefine1 = s_cdefine1;
    }

    public String getS_cdefine2() {
        return s_cdefine2;
    }

    public void setS_cdefine2(String s_cdefine2) {
        this.s_cdefine2 = s_cdefine2;
    }

    public String getS_cdefine3() {
        return s_cdefine3;
    }

    public void setS_cdefine3(String s_cdefine3) {
        this.s_cdefine3 = s_cdefine3;
    }

    public String getS_cdefine4() {
        return s_cdefine4;
    }

    public void setS_cdefine4(String s_cdefine4) {
        this.s_cdefine4 = s_cdefine4;
    }

    private String s_cdefine2;
    private String s_cdefine3;
    private String s_cdefine4;

    public String getPrecchecker() {
        return precchecker;
    }

    public void setPrecchecker(String precchecker) {
        this.precchecker = precchecker;
    }

    private String precchecker;

    public String getIfrequency() {
        return ifrequency;
    }

    public void setIfrequency(String ifrequency) {
        this.ifrequency = ifrequency;
    }

    private String ifrequency;

    public String getCvouchnum() {
        return cvouchnum;
    }

    public void setCvouchnum(String cvouchnum) {
        this.cvouchnum = cvouchnum;
    }

    private String cvouchnum;

    public String getCqgtype() {
        return cqgtype;
    }

    public void setCqgtype(String cqgtype) {
        this.cqgtype = cqgtype;
    }

    private String cqgtype;

    public String getCnocheckreason() {
        return cnocheckreason;
    }

    public void setCnocheckreason(String cnocheckreason) {
        this.cnocheckreason = cnocheckreason;
    }

    private String cnocheckreason;

    //对比list是否一样

    public String getCdepcode() {
        return cdepcode;
    }

    public void setCdepcode(String cdepcode) {
        this.cdepcode = cdepcode;
    }

    public boolean isequals(Object obj) {
        if (obj == null) return false;
        if (this.getClass() != obj.getClass()) return false;
        UffjqgdList_detail p = (UffjqgdList_detail) obj;
        if (!this.cvouchid.equals(p.cvouchid)) return false;
        if (!this.cinvcode.equals(p.cinvcode)) return false;
        if (!this.cinvname.equals(p.cinvname)) return false;
        if (!this.cinvstd.equals(p.cinvstd)) return false;
        if (!this.cinvm_unit.equals(p.cinvm_unit)) return false;
        if (!this.cinva_unit.equals(p.cinva_unit)) return false;
        if (!this.iinvexchrate.equals(p.iinvexchrate)) return false;
        if (!this.binvtype.equals(p.binvtype)) return false;
        if (!this.cinvaddcode.equals(p.cinvaddcode)) return false;
        if (!this.ddate_dh.equals(p.ddate_dh)) return false;
        if (!this.inum.equals(p.inum)) return false;
        if (!this.isnum.equals(p.isnum)) return false;
        if (!this.iquantity.equals(p.iquantity)) return false;
        if (!this.iqgq.equals(p.iqgq)) return false;
        if (!this.iprice.equals(p.iprice)) return false;
        if (!this.iamount.equals(p.iamount)) return false;
        if (!this.cvencodep1.equals(p.cvencodep1)) return false;
        if (!this.cvennamep1.equals(p.cvennamep1)) return false;
        if (!this.cvencodep2.equals(p.cvencodep2)) return false;
        if (!this.cvennamep2.equals(p.cvennamep2)) return false;
        if (!this.cvencodep3.equals(p.cvencodep3)) return false;
        if (!this.cvennamep3.equals(p.cvennamep3)) return false;
        if (!this.ipricep1.equals(p.ipricep1)) return false;
        if (!this.ipricep2.equals(p.ipricep2)) return false;
        if (!this.ipricep3.equals(p.ipricep3)) return false;
        if (!this.cchecker.equals(p.cchecker)) return false;
        if (!this.ccheckdate.equals(p.ccheckdate)) return false;
        if (!this.cdisapprovereason.equals(p.cdisapprovereason)) return false;
        if (!this.cvencode.equals(p.cvencode)) return false;
        if (!this.cvenname.equals(p.cvenname)) return false;
        if (!this.cdefine1.equals(p.cdefine1)) return false;
        if (!this.cdefine2.equals(p.cdefine2)) return false;
        if (!this.cdefine3.equals(p.cdefine3)) return false;
        if (!this.iinvsprice.equals(p.iinvsprice)) return false;
        if (!this.cdefine4.equals(p.cdefine4)) return false;
        if (!this.bapprove.equals(p.bapprove)) return false;
        if (!this.qgdsid.equals(p.qgdsid)) return false;
        if (!this.inorder.equals(p.inorder)) return false;
        if (!this.bclose.equals(p.bclose)) return false;
        if (!this.djtype.equals(p.djtype)) return false;
        if (!this.djcvencode.equals(p.djcvencode)) return false;
        if (!this.djprice.equals(p.djprice)) return false;
        if (!this.canupdjxy.equals(p.canupdjxy)) return false;
        return this.succount.equals(p.succount);

    }

    //���������������
    public void equal(Object obj) {
        if (obj == null) return;
        if (this.getClass() != obj.getClass()) return;
        UffjqgdList_detail p = (UffjqgdList_detail) obj;
        cvouchid = p.cvouchid;
        cinvcode = p.cinvcode;
        cinvname = p.cinvname;
        cinvstd = p.cinvstd;
        cinvm_unit = p.cinvm_unit;
        cinva_unit = p.cinva_unit;
        iinvexchrate = p.iinvexchrate;
        binvtype = p.binvtype;
        cinvaddcode = p.cinvaddcode;
        ddate_dh = p.ddate_dh;
        inum = p.inum;
        isnum = p.isnum;
        iquantity = p.iquantity;
        iqgq = p.iqgq;
        iprice = p.iprice;
        iamount = p.iamount;
        cvencodep1 = p.cvencodep1;
        cvennamep1 = p.cvennamep1;
        cvencodep2 = p.cvencodep2;
        cvennamep2 = p.cvennamep2;
        cvencodep3 = p.cvencodep3;
        cvennamep3 = p.cvennamep3;
        ipricep1 = p.ipricep1;
        ipricep2 = p.ipricep2;
        ipricep3 = p.ipricep3;
        cchecker = p.cchecker;
        ccheckdate = p.ccheckdate;
        cdisapprovereason = p.cdisapprovereason;
        cvencode = p.cvencode;
        cvenname = p.cvenname;
        cdefine1 = p.cdefine1;
        cdefine2 = p.cdefine2;
        cdefine3 = p.cdefine3;
        iinvsprice = p.iinvsprice;
        cdefine4 = p.cdefine4;
        bapprove = p.bapprove;
        qgdsid = p.qgdsid;
        inorder = p.inorder;
        bclose = p.bclose;
        djtype = p.djtype;
        djcvencode = p.djcvencode;
        djprice = p.djprice;
        canupdjxy = p.canupdjxy;
        succount = p.succount;
        return;
    }

    //����ʱ,�鿴�����Ƿ�ƥ��
    public boolean qgdappfind(String param) {
        if (this.cvouchid.contains(param)) return true;
        if (this.cinvcode.contains(param)) return true;
        if (this.cinvname.contains(param)) return true;
        if (this.cinvstd.contains(param)) return true;
        if (this.cinvm_unit.contains(param)) return true;
        if (this.cinva_unit.contains(param)) return true;
        if (this.iinvexchrate.contains(param)) return true;
        if (this.binvtype.contains(param)) return true;
        if (this.cinvaddcode.contains(param)) return true;
        if (this.ddate_dh.contains(param)) return true;
        if (this.inum.contains(param)) return true;
        if (this.isnum.contains(param)) return true;
        if (this.iquantity.contains(param)) return true;
        if (this.iqgq.contains(param)) return true;
        if (this.iprice.contains(param)) return true;
        if (this.iamount.contains(param)) return true;
        if (this.cvencodep1.contains(param)) return true;
        if (this.cvennamep1.contains(param)) return true;
        if (this.cvencodep2.contains(param)) return true;
        if (this.cvennamep2.contains(param)) return true;
        if (this.cvencodep3.contains(param)) return true;
        if (this.cvennamep3.contains(param)) return true;
        if (this.ipricep1.contains(param)) return true;
        if (this.ipricep2.contains(param)) return true;
        if (this.ipricep3.contains(param)) return true;
        if (this.cchecker.contains(param)) return true;
        if (this.ccheckdate.contains(param)) return true;
        if (this.cdisapprovereason.contains(param)) return true;
        if (this.cvencode.contains(param)) return true;
        if (this.cvenname.contains(param)) return true;
        if (this.cdefine1.contains(param)) return true;
        if (this.cdefine2.contains(param)) return true;
        if (this.cdefine3.contains(param)) return true;
        if (this.iinvsprice.contains(param)) return true;
        if (this.cdefine4.contains(param)) return true;
        if (this.bapprove.contains(param)) return true;
        if (this.qgdsid.contains(param)) return true;
        if (this.inorder.contains(param)) return true;
        if (this.bclose.contains(param)) return true;
        if (this.djtype.contains(param)) return true;
        if (this.djcvencode.contains(param)) return true;
        if (this.djprice.contains(param)) return true;
        if (this.canupdjxy.contains(param)) return true;
        return this.succount.contains(param);
    }

    public String getCvouchid() {
        return cvouchid;
    }

    public void setCvouchid(String cvouchid) {
        this.cvouchid = cvouchid;
    }

    public String getCinvcode() {
        return cinvcode;
    }

    public void setCinvcode(String cinvcode) {
        this.cinvcode = cinvcode;
    }

    public String getCinvname() {
        return cinvname;
    }

    public void setCinvname(String cinvname) {
        this.cinvname = cinvname;
    }

    public String getCinvstd() {
        return cinvstd;
    }

    public void setCinvstd(String cinvstd) {
        this.cinvstd = cinvstd;
    }

    public String getCinvm_unit() {
        return cinvm_unit;
    }

    public void setCinvm_unit(String cinvm_unit) {
        this.cinvm_unit = cinvm_unit;
    }

    public String getCinva_unit() {
        return cinva_unit;
    }

    public void setCinva_unit(String cinva_unit) {
        this.cinva_unit = cinva_unit;
    }

    public String getIinvexchrate() {
        return iinvexchrate;
    }

    public void setIinvexchrate(String iinvexchrate) {
        this.iinvexchrate = iinvexchrate;
    }

    public String getBinvtype() {
        return binvtype;
    }

    public void setBinvtype(String binvtype) {
        this.binvtype = binvtype;
    }

    public String getCinvaddcode() {
        return cinvaddcode;
    }

    public void setCinvaddcode(String cinvaddcode) {
        this.cinvaddcode = cinvaddcode;
    }

    public String getDdate_dh() {
        return ddate_dh;
    }

    public void setDdate_dh(String ddate_dh) {
        this.ddate_dh = ddate_dh;
    }

    public String getInum() {
        return inum;
    }

    public void setInum(String inum) {
        this.inum = inum;
    }

    public String getIsnum() {
        return isnum;
    }

    public void setIsnum(String isnum) {
        this.isnum = isnum;
    }

    public String getIquantity() {
        return iquantity;
    }

    public void setIquantity(String iquantity) {
        this.iquantity = iquantity;
    }

    public String getIqgq() {
        return iqgq;
    }

    public void setIqgq(String iqgq) {
        this.iqgq = iqgq;
    }

    public String getIprice() {
        return iprice;
    }

    public void setIprice(String iprice) {
        this.iprice = iprice;
    }

    public String getIamount() {
        return iamount;
    }

    public void setIamount(String iamount) {
        this.iamount = iamount;
    }

    public String getCvencodep1() {
        return cvencodep1;
    }

    public void setCvencodep1(String cvencodep1) {
        this.cvencodep1 = cvencodep1;
    }

    public String getCvennamep1() {
        return cvennamep1;
    }

    public void setCvennamep1(String cvennamep1) {
        this.cvennamep1 = cvennamep1;
    }

    public String getCvencodep2() {
        return cvencodep2;
    }

    public void setCvencodep2(String cvencodep2) {
        this.cvencodep2 = cvencodep2;
    }

    public String getCvennamep2() {
        return cvennamep2;
    }

    public void setCvennamep2(String cvennamep2) {
        this.cvennamep2 = cvennamep2;
    }

    public String getCvencodep3() {
        return cvencodep3;
    }

    public void setCvencodep3(String cvencodep3) {
        this.cvencodep3 = cvencodep3;
    }

    public String getCvennamep3() {
        return cvennamep3;
    }

    public void setCvennamep3(String cvennamep3) {
        this.cvennamep3 = cvennamep3;
    }

    public String getIpricep1() {
        return ipricep1;
    }

    public void setIpricep1(String ipricep1) {
        this.ipricep1 = ipricep1;
    }

    public String getIpricep2() {
        return ipricep2;
    }

    public void setIpricep2(String ipricep2) {
        this.ipricep2 = ipricep2;
    }

    public String getIpricep3() {
        return ipricep3;
    }

    public void setIpricep3(String ipricep3) {
        this.ipricep3 = ipricep3;
    }

    public String getCchecker() {
        return cchecker;
    }

    public void setCchecker(String cchecker) {
        this.cchecker = cchecker;
    }

    public String getCcheckdate() {
        return ccheckdate;
    }

    public void setCcheckdate(String ccheckdate) {
        this.ccheckdate = ccheckdate;
    }

    public String getCdisapprovereason() {
        return cdisapprovereason;
    }

    public void setCdisapprovereason(String cdisapprovereason) {
        this.cdisapprovereason = cdisapprovereason;
    }

    public String getCvencode() {
        return cvencode;
    }

    public String getVenplatid() {
        return venplatid;
    }

    public void setVenplatid(String venplatid) {
        this.venplatid = venplatid;
    }

    public String getCchangedate() {
        return cchangedate;
    }

    public void setCchangedate(String cchangedate) {
        this.cchangedate = cchangedate;
    }

    public void setCvencode(String cvencode) {
        this.cvencode = cvencode;
    }

    public String getCvenname() {
        return cvenname;
    }

    public void setCvenname(String cvenname) {
        this.cvenname = cvenname;
    }

    public String getCdefine1() {
        return cdefine1;
    }

    public void setCdefine1(String cdefine1) {
        this.cdefine1 = cdefine1;
    }

    public String getCdefine2() {
        return cdefine2;
    }

    public void setCdefine2(String cdefine2) {
        this.cdefine2 = cdefine2;
    }

    public String getCdefine3() {
        return cdefine3;
    }

    public void setCdefine3(String cdefine3) {
        this.cdefine3 = cdefine3;
    }

    public String getIinvsprice() {
        return iinvsprice;
    }

    public void setIinvsprice(String iinvsprice) {
        this.iinvsprice = iinvsprice;
    }

    public String getCdefine4() {
        return cdefine4;
    }

    public void setCdefine4(String cdefine4) {
        this.cdefine4 = cdefine4;
    }

    public String getBapprove() {
        return bapprove;
    }

    public void setBapprove(String bapprove) {
        this.bapprove = bapprove;
    }

    public String getQgdsid() {
        return qgdsid;
    }

    public void setQgdsid(String qgdsid) {
        this.qgdsid = qgdsid;
    }

    public String getInorder() {
        return inorder;
    }

    public void setInorder(String inorder) {
        this.inorder = inorder;
    }

    public String getBclose() {
        return bclose;
    }

    public void setBclose(String bclose) {
        this.bclose = bclose;
    }

    public String getDjtype() {
        return djtype;
    }

    public void setDjtype(String djtype) {
        this.djtype = djtype;
    }

    public String getDjcvencode() {
        return djcvencode;
    }

    public void setDjcvencode(String djcvencode) {
        this.djcvencode = djcvencode;
    }

    public String getDjprice() {
        return djprice;
    }

    public void setDjprice(String djprice) {
        this.djprice = djprice;
    }

    public String getCanupdjxy() {
        return canupdjxy;
    }

    public void setCanupdjxy(String canupdjxy) {
        this.canupdjxy = canupdjxy;
    }

    public String getSuccount() {
        return succount;
    }

    public void setSuccount(String succount) {
        this.succount = succount;
    }

    public String getDdate() {
        return ddate;
    }

    public void setDdate(String ddate) {
        this.ddate = ddate;
    }

    public String getIlprice() {
        return ilprice;
    }

    public void setIlprice(String ilprice) {
        this.ilprice = ilprice;
    }

    public String getClvencode() {
        return clvencode;
    }

    public void setClvencode(String clvencode) {
        this.clvencode = clvencode;
    }

    public String getIlquantity() {
        return ilquantity;
    }

    public void setIlquantity(String ilquantity) {
        this.ilquantity = ilquantity;
    }

    public String getAvgiquantity() {
        return avgiquantity;
    }

    public void setAvgiquantity(String avgiquantity) {
        this.avgiquantity = avgiquantity;
    }

    public String getCvencode1() {
        return cvencode1;
    }

    public void setCvencode1(String cvencode1) {
        this.cvencode1 = cvencode1;
    }

    public String getAvgiprice1() {
        return avgiprice1;
    }

    public void setAvgiprice1(String avgiprice1) {
        this.avgiprice1 = avgiprice1;
    }

    public String getCvencode2() {
        return cvencode2;
    }

    public void setCvencode2(String cvencode2) {
        this.cvencode2 = cvencode2;
    }

    public String getAvgiprice2() {
        return avgiprice2;
    }

    public void setAvgiprice2(String avgiprice2) {
        this.avgiprice2 = avgiprice2;
    }

}
